package ge.telasi.tasks.model.copy;

import ge.telasi.tasks.model.*;

/**
 * @author dimitri
 */
public class Copier {

    public static String copy(String text) {
        return new String(text);
    }

    public static AppConfig copy(AppConfig config) {
        AppConfig newConfig = new AppConfig();
        newConfig.setKey(copy(config.getKey()));
        newConfig.setValue(copy(config.getValue()));
        return newConfig;
    }

}
